package com.arlin.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @ClassName: DeptProvider8081
 * @Description: TODO
 * @Author: arlin
 * @Date: 2021/3/21
 */
@SpringBootApplication
@EnableEurekaClient //服务启动后自动注册Eureka中
@EnableDiscoveryClient  //服务发现
public class ConfigDept8081 {
    public static void main(String[] args) {
        SpringApplication.run(ConfigDept8081.class, args);
    }
}
